import request from "../utils/request";

// 获取数据+分页+搜索
export const apiEmail = (data) => {
  return request({ url: "/api/email", method: "post", data });
};

// 添加
export const apiAddEmail = (data) => {
  return request({ url: "/api/addEmail", method: "post", data });
};

// 删除
export const apiDelEmail = (data) => {
  return request({ url: "/api/delEmail", method: "post", data });
};
